package com.todo.pro.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 计划主表
 * </p>
 *
 * @author ZhongXia
 * @since 2018-08-30
 */
@TableName("td_plan")
public class Plan implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
	private Long id;
    /**
     * 用户ID
     */
	@TableField("user_id")
	private Long userId;
	@TableField("plan_name")
	private String planName;
	@TableField("plan_content")
	private String planContent;
    /**
     * 计划完成时间
     */
	@TableField("plan_finish_time")
	private Date planFinishTime;
    /**
     * 下次提醒时间
     */
	@TableField("next_remind_time")
	private Date nextRemindTime;
    /**
     * 是否含有图片
     */
	@TableField("has_picture")
	private Integer hasPicture;
    /**
     * 计划状态
     */
	@TableField("plan_status")
	private String planStatus;
    /**
     * 进度
     */
	@TableField("plan_speed")
	private Integer planSpeed;
    /**
     * 完成时间
     */
	@TableField("finish_time")
	private Date finishTime;
    /**
     * 用时（秒）
     */
	@TableField("use_time")
	private Long useTime;
    /**
     * 取消时间
     */
	@TableField("cancle_time")
	private Date cancleTime;
    /**
     * 创建时间
     */
	@TableField("create_time")
	private Date createTime;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getPlanName() {
		return planName;
	}

	public void setPlanName(String planName) {
		this.planName = planName;
	}

	public String getPlanContent() {
		return planContent;
	}

	public void setPlanContent(String planContent) {
		this.planContent = planContent;
	}

	public Date getPlanFinishTime() {
		return planFinishTime;
	}

	public void setPlanFinishTime(Date planFinishTime) {
		this.planFinishTime = planFinishTime;
	}

	public Date getNextRemindTime() {
		return nextRemindTime;
	}

	public void setNextRemindTime(Date nextRemindTime) {
		this.nextRemindTime = nextRemindTime;
	}

	public Integer getHasPicture() {
		return hasPicture;
	}

	public void setHasPicture(Integer hasPicture) {
		this.hasPicture = hasPicture;
	}

	public String getPlanStatus() {
		return planStatus;
	}

	public void setPlanStatus(String planStatus) {
		this.planStatus = planStatus;
	}

	public Integer getPlanSpeed() {
		return planSpeed;
	}

	public void setPlanSpeed(Integer planSpeed) {
		this.planSpeed = planSpeed;
	}

	public Date getFinishTime() {
		return finishTime;
	}

	public void setFinishTime(Date finishTime) {
		this.finishTime = finishTime;
	}

	public Long getUseTime() {
		return useTime;
	}

	public void setUseTime(Long useTime) {
		this.useTime = useTime;
	}

	public Date getCancleTime() {
		return cancleTime;
	}

	public void setCancleTime(Date cancleTime) {
		this.cancleTime = cancleTime;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Override
	public String toString() {
		return "Plan{" +
			", id=" + id +
			", userId=" + userId +
			", planName=" + planName +
			", planContent=" + planContent +
			", planFinishTime=" + planFinishTime +
			", nextRemindTime=" + nextRemindTime +
			", hasPicture=" + hasPicture +
			", planStatus=" + planStatus +
			", planSpeed=" + planSpeed +
			", finishTime=" + finishTime +
			", useTime=" + useTime +
			", cancleTime=" + cancleTime +
			", createTime=" + createTime +
			"}";
	}
}
